// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

import Manager from "./Manager";
import { MessageType } from "./Message";

const {ccclass, property} = cc._decorator;

@ccclass
export default class UI_Manager extends Manager {
    // LIFE-CYCLE CALLBACKS:
    static instance:UI_Manager = null;

    // 设置类型
    setManagerType(): number {
        return MessageType.Type_UI;
    }

    onLoad () {
        super.onLoad();
        UI_Manager.instance = this;
    }

    start () {

    }

    private constructor() {
        super();
    }
    // update (dt) {}
}
